from django.urls import path

from .views import index, detail, list, delhero, delbook, addbook,stulist

urlpatterns = [
    path('index/', index),
    path('list/', list, name='booklist'),
    path('detail/<int:id>', detail),
    path('delhero/<str:id>', delhero, name='bookdelhero'),
    path('delbook/<str:id>', delbook, name='bookdelbook'),
    path('addbook/', addbook, name='addbook'),
    path('stulist/',stulist)
]
